<?xml version="1.0" encoding="utf-8"?>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<%@include file="loading.jsp"%>
<s:actionerror cssClass="ui-state-error ui-corner-all"
	cssStyle="padding: 0pt 0.7em;" />
<s:actionmessage cssClass="ui-state-highlight ui-corner-all"
	cssStyle="padding: 0pt 0.7em; margin-top: 20px;" />


<fieldset class="ui-widget ui-widget-content ui-corner-all"
	style="margin: 10px"><legend
	class="ui-state-default ui-corner-all">&nbsp;&nbsp;&nbsp;Mural&nbsp;&nbsp;&nbsp;</legend>
<br>
<sj:div >
	<s:if test="%{!lista.isEmpty()}">
	<table style="align: left; width: 100%">
		<thead align="right">
			<td colspan="6">
			<table style="align: right;">
				<tr>
					<!-- <td>
  				<label style="font-size: 1"> Exibindo Registros de <s:property value="pageatual*pagesize"/> a <s:property value="(pageatual+1)*pagesize"/></label>
  			</td>-->


					<s:if test="%{pageatual>0}">
						<td><sj:a
							href="listarmuralfeira!priorPage?pageatual=%{pageatual}&idCentro=%{idCentro}&idEstande=%{idEstande}"
							targets="listamural" indicator="gridIndicator">
							<span class="ui-icon ui-icon-seek-prev" />
						</sj:a></td>
					</s:if>

					<td><sj:a
						href="listarmuralfeira!nextPage?pageatual=%{pageatual}&idCentro=%{idCentro}&idEstande=%{idEstande}"
						targets="listamural" indicator="gridIndicator">
						<span class="ui-icon ui-icon-seek-next" />
					</sj:a></td>


					<td><img src="images/indicator2.gif" id="gridIndicator"
						alt="Recarregando Mural" style="display: none" /></td>
				</tr>
			</table>
			</td>
		</thead>

		<s:set value="lista" name="listagem" />
		<s:iterator value="listagem" var="aviso">
			<tr>
				<td align="center"><span class="ui-icon ui-icon-note" /></td>
				<td><s:property value="texto" /></td>

				<td align="center"></td>

			</tr>
		</s:iterator>
	</table>
	</s:if>
	<s:else>
		Não há nada aqui.
	</s:else>
</sj:div></fieldset>


